#include "http/http_server.hh"
#include "log/log.hpp"
using namespace std;
int main(int argc, char *argv[])
{
    if (argc != 2)
    {
        cout << "usage:: " << std::string(argv[0]) << " port " << endl;
        return 1;
    }
    http_server_t server(atoi(argv[1]));
    server.set_base_dir("./wwwroot");
    server.run();
}